package com.woniuxy.mapper;

import com.woniuxy.pojo.Goods;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
* @author 29331
* @description 针对表【t_goods(商品信息表)】的数据库操作Mapper
* @createDate 2025-06-03 10:37:42
* @Entity com.woniuxy.pojo.Goods
*/
@Mapper
public interface GoodsMapper extends BaseMapper<Goods> {

    @Select("select * from t_goods where name = #{productName}")
    Goods selectByName(String productName);
}




